package com.uwo.house.exception;

import com.uwo.house.advice.Code;

/**
 * Created by yanhao on 2017/7/24.
 */
public class ControllerException extends RuntimeException{

    public ControllerException(Code code){
        super(code.getMessage());
    }

    public ControllerException(String message, Throwable cause){
        super(message, cause);
    }

}
